<?php

$nick=$_GET['nick'];

$fp = fopen("usuarios.txt","a");
fwrite($fp, $nick . PHP_EOL);
fclose($fp);

?>